using Godot;
using System;

public partial class BlueEnery : Sprite2D
{
	[Export]
	public int location { get; set; }
	public override void _Ready()
	{
		Texture = GD.Load<Texture2D>("res://photo//small/能量blue.png");
		switch(location){
			case 0:
				GlobalPosition = new Vector2(2276.0f, 570.0f);
				break;
			case 1:
				GlobalPosition = new Vector2(2276.0f, 630.0f);
				break;
			case 2:
				GlobalPosition = new Vector2(2276.0f, 690.0f);
				break;
			case 3:
				GlobalPosition = new Vector2(2276.0f, 750.0f);
				break;
			case 4:
				GlobalPosition = new Vector2(2276.0f, 810.0f);
				break;
			case 5:
				GlobalPosition = new Vector2(2276.0f, 870.0f);
				break;
			case 6:
				GlobalPosition = new Vector2(2340.0f, 570.0f);
				break;
			case 7:
				GlobalPosition = new Vector2(2340.0f, 630.0f);
				break;
			case 8:
				GlobalPosition = new Vector2(2340.0f, 690.0f);
				break;
			case 9:
				GlobalPosition = new Vector2(2340.0f, 750.0f);
				break;
			case 10:
				GlobalPosition = new Vector2(2340.0f, 810.0f);
				break;
			case 11:
				GlobalPosition = new Vector2(2340.0f, 870.0f);
				break;
		}
	}
	
}
